#include <Windows.h>
#include "tinyxml/tinystr.h"
#include "tinyxml/tinyxml.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class CWorldManager
{
private:
	struct Tiles
	{
		int tileX;
		int tileY;
		int ImageIDIndex;
	};

	int					m_nMapSizeW;		// the number of columns in the map							
	int					m_nMapSizeH;		// the number of rows in the map
	int					m_nTileWidth;		// the width of each tile
	int					m_nTileHeight;		// the height of each tile
	vector<int>			ImageID;			// the TextureManager's id for the image
	Tiles**				TilesMap;			// an array of Tiles pointers 

	// constructor
	CWorldManager(void);

	// destructor
	~CWorldManager(void);

	// copy constructor
	CWorldManager(const CWorldManager&);

	// assignment operator
	CWorldManager& operator=(const CWorldManager&);
//<<<<<<< .mine
	//int m_nMapSizeW;
	//int m_nMapSizeH;
	int m_nTileSizeH;
	int m_nTileSizeW;
	//vector<int> ImageID;
	//Tiles** TilesMap;
//=======
	
//>>>>>>> .r37
public:
	static CWorldManager* GetInstance(void);

	void LoadStage(const char * fileToLoad );

	void Render();
};